package com.example.android_is2;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class MainActivity extends Activity implements OnClickListener {

    public final static String TAG = "TourRAGE_";
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        
        Button btn_MainMenu = (Button) findViewById(R.id.btn_MainMenu);
        btn_MainMenu.setOnClickListener(this);
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_main, menu);
        return true;
    }

    public void onClick(View v) {
      // TODO Auto-generated method stub
      Intent intent = new Intent(this, MenuActivity.class);
      startActivity(intent);
    }

    @Override
    protected void onPause() {
      // TODO Auto-generated method stub
      super.onPause();
      this.finish();
    }
    
    
    
}
